﻿@inject NavigationManager NavigationManager

<CnGalWebSite.ProjectSite.Shared.Components.Shared.IconChip Color="info" Icon="IconType.Project" Text="@Name" Outlined OnClick="OnClick" />

 @code {
    [Parameter]
    public string Name { get; set; }
    [Parameter]
    public long Id { get; set; }

    public void OnClick()
    {
        NavigationManager.NavigateTo($"/project/{Id}");
    }
}
